package com.peas.platform.module.icims.contract.initial.dto;

import java.util.*;

import com.peas.platform.common.core.annotation.Comment;
import com.peas.platform.common.core.dto.BaseDto;
import com.peas.platform.framework.mybatisplus.annotation.Condition;
import com.peas.platform.framework.mybatisplus.annotation.ConditionOperator;
import lombok.Data;
import lombok.EqualsAndHashCode;

// 初始合同执行-终止
@Data
@EqualsAndHashCode(callSuper = false)
public class ContractInitialTerminateDto extends BaseDto {

    // 合同ID
    // 【初始合同表】
    @Comment(value = "合同ID")
    private Long contractInitialId;

    // 批次号
    @Comment(value = "批次号")
    private String batch;

    // 终止经办人
    // 【用户表】
    @Comment(value = "终止经办人")
    private Long terminateUserId;

    // 终止经办人部门
    // 【组织架构表】
    @Comment(value = "终止经办人部门")
    private Long terminateDepartmentId;

    // 终止原因
    @Comment(value = "终止原因")
    private String terminateReason;

    // 终止状态
    // 枚举取值:ContractInitialTerminateState
    @Comment(value = "终止状态", enumType = "ContractInitialTerminateState")
    @Condition(operator = ConditionOperator.IN)
    private String state;

    //Criteria
    private Date createTimeStart;
    private Date createTimeEnd;
    private Date updateTimeStart;
    private Date updateTimeEnd;
}
